package idv.takeshi.software.productline.bookstore.domain.model.deliveryservice;

import org.apache.commons.lang.Validate;

/**
 * A repository for DeliveryService.
 * @author takeshi
 *
 */
public interface DeliveryServiceRepository {
	
	/**
	 * Add a deliveryService.
	 * @param deliveryService
	 * @exception DeliveryServiceDuplicateException
	 */
	public void add(DeliveryService deliveryService) throws DeliveryServiceDuplicateException;
	
	/**
	 * Find a deliveryService by Id.
	 * @param id
	 * @return
	 */
	public DeliveryService findById(Integer id);
	
	 
}
 
